@width: 100%;

.display {
  display: inline-block;
  vertical-align: top;
}

.box {
  box-sizing: border-box;
}

.ly-video {
  width: @width;
  height: @width;
  video {
    width: @width;
    display: block;
  }
}

.ly-index {
  width: @width;
  height: 50px;

  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  font-size: 0;
  a {
    .display;
    padding: 0 20px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    height: 30px;
    line-height: 28px;
    margin: 10px 20px 0;
    .box;
    font-size: 14px;
    &.ly-look {
      display: none;
    }
  }
}

@media screen  and (max-width: 980px) {
  .ly-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    margin-top: -150px;
  }
}

@keyframes lyFor {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}